package a8;

public class LatitudeTime {

	public static void main(String[] args) {
		double lat = 60.05;
		int deg = 0;
		int min = 0;
		double sec = 0;

		deg = (int) lat;
		min = (int) ((lat - deg) * 60);
		sec = ((lat - deg) * 60 - min) * 60;
		String time = String.format("%d\u00b0%d\'%.1f\"", deg, min, sec);
		System.out.println(time);
	}

}
